//
//  DCPathItemButton.h
//  基本框架
//
//  Created by runone02 on 2018/8/24.
//  Copyright © 2018年 liqiyun. All rights reserved.
//

@import UIKit;

@class DCPathItemButton;

@protocol DCPathItemButtonDelegate <NSObject>

- (void)itemButtonTapped:(DCPathItemButton *)itemButton;

@end

@interface DCPathItemButton : UIImageView

@property (assign, nonatomic) NSUInteger index;
@property (weak, nonatomic) id<DCPathItemButtonDelegate> delegate;

- (id)initWithImage:(UIImage *)image
   highlightedImage:(UIImage *)highlightedImage
    backgroundImage:(UIImage *)backgroundImage
backgroundHighlightedImage:(UIImage *)backgroundHighlightedImage;

@end
